package org.example.managere.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.sql.Timestamp;

import jakarta.validation.constraints.NotEmpty;

/**
 * 失效模式和影响分析数据传输对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FMEAFMESDto {
    private Integer id;
    
    @NotEmpty(message = "产品名称不能为空")
    private String name;
    
    private String initialConventionLevel;
    
    private String conventionLevel;
    
    private String systemName;
    
    private String subsystem;
    
    private String fMode;
    
    private String fCause;
    
    private String flightPhase;
    
    private String fEffects;
    
    private Float singleFailureRate;
    
    private Float fmFailureRate;
    
    private String hazardRating;
    
    private String detectionMethod;
    
    private String correctiveAction;
    
    private String highFrequency;
    
    private String hfVoiceCommunicationLink;
    
    private Float hfTransceiverFailureRate;
    
    private Timestamp createTime;
    
    private Timestamp updateTime;
} 